package com.ld.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 类名：
 * 作者：WF
 * 功能：
 */
@Controller
@RequestMapping("/user")
public class UserController {

	@GetMapping("hello")
	public String hello(){
		System.out.println("hello....");
		return "hello";
	}
	@RequestMapping("welcome")
	public String welcome(){
		System.out.println("welcome....");
		return "welcome";
	}

	@RequestMapping("login")
	public String login(){
		return "login";
	}
}
